Connect to the Controller

KAS provides all the commands for controlling the target in the Device toolbar:

The Device Toolbar

Icon Description

Show the controller communication properties dialog (PLCClosed "Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events options).

Change the controller IP address to connect with KAS Simulator.

In this simulated mode, the controller properties change and the Controller Type includes the IP address 127.0.0.1.

See Using the KAS Simulator for more information.

Compile the project.

Compile and download the project.

This downloads the application and Project Source files.

Establish a connection with the target controller.

See the Status Bar for more information about statuses.

Close connection with the target controller.

Download the application to the targeted controller.

The application must not be running.

See Download the Project for more information.

Start the application. It can be either:

  • Warm Start (default mode): Retain Variables are loaded at the application startup.
    • They are Not re-initialized; whereas other variables are started with their initial values.
  • Cold Start: Use Retain Variables with their default values.
    Cold starts occurs from time to time but are few.
    • To choose a Cold Start, click the Start button drop-down:

Stop the application.

Verify the Simulated device mode is active (click the button).

Click the Connect Device button () to establish the connection with the target controller.

Actions to Prevent Compatibility Issues

The software versions of the KAS-IDEClosed "Integrated development environment" An integrated development environment is a type of computer software that assists computer programmers in developing software. IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger and the KAS RuntimeClosed In computer science, runtime (or run-time) describes the operation of a computer program, the duration of its execution, from beginning to termination (compare compile time). Within KAS, runtime also refers to the virtual machine that manage the program written in a computer language while it is running have to match to avoid compatibility issues.

See KAS IDE to Runtime Compatibility for more information.


  • The software versions of the KAS-IDE and the KAS Runtime are also available in the local log messages (the level for this message is INFO).
    See Information and Logs window for more information.

When another KAS-IDE is already connected to the controller, a warning opens and the connection is discarded to prevent any conflict.

Application Status Bar

The status bar provides global information about the target and the name of the running application currently stored in the device.
Text with an orange background means that the version of the application is different between the KAS-IDE and the target.

See Status Bar for more information.

Message Window

Every log message has this information: